import { AbsDisPtSvc } from "../absdisptsvc";
import { CommonPaintUtil } from "../../../graph/paintutil/compaintutil";

class DisCrossPtSvc extends AbsDisPtSvc {
    constructor() {
        super();
        this.desc = "交点";
    }
    subDisplay(aborbPtInfo, map, mapInfo) {
        var colorStr = aborbPtInfo.color.toHexString();
        CommonPaintUtil.disPointCross(aborbPtInfo.pt, colorStr, map, mapInfo);
    }
}

export { DisCrossPtSvc }